package com.atguigu.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "alibaba-provider-payment")
@Service
public interface AlibabaPaymentService {
    @GetMapping("/alibaba/payment/get/{id}")
    public String alibabaPayment(@PathVariable("id") String id);

}
